import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store';
// 导入组件库
import ElementUI from 'element-ui'
// 导入组件相关依赖
import 'element-ui/lib/theme-chalk/index.css'
// 导入全局样式
import './assets/css/global.css'
// 导入全局变量
import global from './assets/js/global'
// 配置Vue插件
Vue.use(ElementUI)

Vue.config.productionTip = false
Vue.prototype.$global = global
console.log(global);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
